﻿#include "mainwindow.h"

#include <QApplication>
#include "myapp.h"
#include "aifaceform.h"


int main(int argc, char* argv[])
{
    QApplication a(argc, argv);

    myApp::AppPath = QApplication::applicationDirPath() + "/";
    ManageLogFile();    //管理日志
    qInstallMessageHandler(outputMessage);    // 注册MessageHandler
    myApp::init_param();
    MainWindow w;
    w.show();
//    AiFaceForm* w = new AiFaceForm("123");
//    w->show();
    return a.exec();
}
